/**   
 * @Title: RescService.java 
 * CopyRight(c)2010-DMX 
 */
package com.dmx.fw.service.interfaces;

import java.util.List;

import com.dmx.fw.bean.mapping.pojo.Resc;

/** 
 * @Description: Resc Service Interface
 * @author: zhaojie
 * @date: 2010
 * @version V1.0 
 * 
 */
public interface RescService extends Service {

	public List<Resc> getRescs();
	
	/**
	 * @Description 创建resc
	 * @param resc
	 * @return Long
	 */
	public Long create(Resc resc);

	/**
	 * @Description 根据ID,删除resc
	 * @param resc
	 */
	public void delete(Resc resc);

	/**
	 * @Description 更新resc
	 * @param resc
	 */
	public void update(Resc resc);
	
	/**
	 * @Description 根据rescId加载resc
	 * @param rescId
	 * @return resc
	 */
	public Resc getResc(String rescId);
}
